package com.jhgk.jhcee.data.auth.mapper;

import com.jhgk.jhcee.data.auth.entity.SysUserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @Description：系统用户表Mapper接口
*/
public interface SysUserInfoMapper extends BaseMapper<SysUserInfo> {

    SysUserInfo selectByUserName(@Param("username") String username);

    Boolean updateLoginTime(@Param("username") String username);

    Boolean setUserStatus(@Param("userId")Long userId,@Param("status") Integer status);

    SysUserInfo selectByUserId(@Param("userId")Long userId);
}

